﻿CREATE TABLE [dbo].[Users] (
    [UserID]          INT            NOT NULL,
    [Username]        NVARCHAR (50)  NULL,
    [Email]           NVARCHAR (50)  NULL,
    [AccessToken]     NVARCHAR (MAX) NULL,
    [Expires]         DATETIME       NULL,
    [RoleID]          INT            NULL,
    [UserActivated]   BIT            NULL,
    [UserBlocked]     BIT            NULL,
    [DateTimeStamp]   DATETIME       NOT NULL,
    [Locale]          NVARCHAR (50)  NULL,
    [DateTimeUpdated] DATETIME       NULL,
    [SessionKey]      NVARCHAR (MAX) NULL,
    [Version]         INT            NULL
);

